#ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "basic.h"
#include "DifficultyLevel.h"
#include "GamePlaying.h"
#include "RankList.h"
#include "GameOver.h"
#include "help.h"
#include "ControlMusic.h"


class HelloWorld : public cocos2d::CCLayer
{
public:
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    virtual bool init();  
    // there's no 'id' in cpp, so we recommand to return the exactly class pointer
    static cocos2d::CCScene* scene();
    
    // a selector callback
    virtual void menuCloseCallback(CCObject* pSender);
	void menuCallback(CCObject* pSender);
    // implement the "static node()" method manually
    LAYER_NODE_FUNC(HelloWorld);
	void StartGame();
	void setDifficultyLevel();
	void setBgMusic();
	void rankList();
	void help();
	void helloquit();
	void palyMusic();
	CCSize size;
public: 
	static BOOL OpenMusic;
	static BOOL FirstOpenMusic;
};

const std::string g_aTestNames[6] = {
	"Start",
	"SetLevel",
	"Music",
	"RankList",
	"Help",
	"Quit"
};

enum
{
	TEST_START = 0,
	TEST_SETDIFFICULTYLEAVER,
	TEST_BACKGROUNDMUIC,
	TEST_RANKLIST,
	TEST_HELP,
	TEST_QUIT,

};

#endif  // __HELLOWORLD_SCENE_H__